rmdir \S \Q %1

mkdir %1\lib32
mkdir %1\lib64
mkdir %1\src

copy LICENSE.GPL %1\
copy Win32\ReleaseDll\dingo.dll %1\lib32\
copy x64\ReleaseDll\dingo.dll %1\lib64\
copy ..\cairo\lib32\libcairo-2.dll %1\lib32\
copy ..\cairo\lib64\libcairo-2.dll %1\lib64\
copy ..\cairo\lib64\libgcc_s_1.dll %1\lib64\
copy ..\libpng\lib32\libpng12-0.dll %1\lib32\
copy ..\libpng\lib64\libpng12-0.dll %1\lib64\
copy ..\zlib\lib32\zlib1.dll %1\lib32\
copy ..\zlib\lib64\zlib1.dll %1\lib64\


copy cs\Dingo.cs %1\src\
copy cs\DingoException.cs %1\src\
copy cs\bin\Release\dingonet.dll %1\

zip -r -9 %1.zip %1
